<link rel='stylesheet' type='text/css' href='<?php echo Petolio_Service_Util::autoVersion('/css/fullcalendar.css'); ?>' />
<link rel='stylesheet' type='text/css' href='<?php echo Petolio_Service_Util::autoVersion('/css/fullcalendar.print.css'); ?>' media='print' />
<script type='text/javascript' src='<?php echo Petolio_Service_Util::autoVersion('/js/jquery/jquery.fullcalendar-1.5.2.min.js'); ?>'></script>
<script type='text/javascript' src='<?php echo Petolio_Service_Util::autoVersion('/js/jquery/jquery.jpaginate.js'); ?>'></script>
<script type='text/javascript' src='<?php echo Petolio_Service_Util::autoVersion('/js/calendar/calendar.js'); ?>'></script>
<script type="text/javascript">
var CalendarData = {
	colors: <?php echo $this->c_colors; ?>,
	types: <?php echo $this->c_types; ?>,
	countries: <?php echo $this->c_countries; ?>,
	species: <?php echo $this->c_species; ?>,
	users: <?php echo $this->c_users; ?>,
	pets: <?php echo $this->c_pets; ?>,
	mods: <?php echo $this->c_mods; ?>,
	error: <?php echo $this->c_error; ?>,
	translate: {
		chat: ['<?php echo $this->translate->_("Chat Channel"); ?>', '<?php echo $this->translate->_("Channel Status"); ?>', '<?php echo $this->translate->_("Enter Chat"); ?>', '<?php echo $this->translate->_("A registration is not necessary"); ?>'],
		todo: ['<?php echo $this->translate->_("Status"); ?>', '<?php echo $this->translate->_("Done"); ?>', '<?php echo $this->translate->_("Not Done"); ?>', '<?php echo $this->translate->_("Mark as Not Done"); ?>', '<?php echo $this->translate->_("Mark as Done"); ?>', '<?php echo $this->translate->_("Deadline"); ?>', '<?php echo $this->translate->_("Pet"); ?>', '<?php echo $this->translate->_("Related to"); ?>'],
		buttons: ['<?php echo $this->translate->_("Edit"); ?>', '<?php echo $this->translate->_("Delete"); ?>', '<?php echo $this->translate->_("Close"); ?>', '<?php echo $this->translate->_("OK"); ?>', '<?php echo $this->translate->_("Save"); ?>', '<?php echo $this->translate->_("Cancel"); ?>', '<?php echo $this->translate->_("Confirm"); ?>', '<?php echo $this->translate->_("View Attendees"); ?>', '<?php echo $this->translate->_("Accept"); ?>', '<?php echo $this->translate->_("Decline"); ?>', '<?php echo $this->translate->_("Join"); ?>', '<?php echo $this->translate->_("Send Invites"); ?>', '<?php echo $this->translate->_("Send Invites & Save"); ?>', '<?php echo $this->translate->_("View Service"); ?>', '<?php echo $this->translate->_("View Pet"); ?>', '<?php echo $this->translate->_("Send"); ?>', '<?php echo $this->translate->_("Print"); ?>', '<?php echo $this->translate->_("Owner"); ?>'],
		labels: ['<?php echo $this->translate->_("View"); ?>', '<?php echo $this->translate->_("Start"); ?>', '<?php echo $this->translate->_("End"); ?>', '<?php echo $this->translate->_("Description"); ?>', '<?php echo $this->translate->_("Location"); ?>', '<?php echo $this->translate->_("Map"); ?>', '<?php echo $this->translate->_("Reminder"); ?>', '<?php echo $this->translate->_("Repeat"); ?>', '<?php echo $this->translate->_("Go to Map"); ?>', '<?php echo $this->translate->_("Update"); ?>', '<?php echo $this->translate->_("Add"); ?>', '<?php echo $this->translate->_("Title"); ?>', '<?php echo $this->translate->_("Type"); ?>', '<?php echo $this->translate->_("All Day?"); ?>', '<?php echo $this->translate->_("Lat, Long"); ?>', '<?php echo $this->translate->_("Repeat Until"); ?>', '<?php echo $this->translate->_("Entrance Fee"); ?>', '<?php echo $this->translate->_("Capacity"); ?>', '<?php echo $this->translate->_("View Attendee List"); ?>', '<?php echo $this->translate->_("Invite to event"); ?>', '<?php echo $this->translate->_("Availability"); ?>', '<?php echo $this->translate->_("Search Location"); ?>', '<?php echo $this->translate->_("Event Status"); ?>', '<?php echo $this->translate->_("Attendee Status"); ?>', '<?php echo $this->translate->_("Invite to Appointment"); ?>', '<?php echo $this->translate->_("Request Appointment"); ?>', '<?php echo $this->translate->_('To pet owner %1$s with pet %2$s'); ?>', '<?php echo $this->translate->_('From service provider %1$s with service %2$s'); ?>', '<?php echo $this->translate->_('Create promotional site after event save.'); ?>', '<?php echo $this->translate->_('Promotional Site'); ?>', '<?php echo $this->translate->_('View Promotional Site'); ?>', '<?php echo $this->translate->_('Create Promotional Site'); ?>', '<?php echo $this->translate->_('Appointment'); ?>', '<?php echo $this->translate->_('Pet Species'); ?>', '<?php echo $this->translate->_('Select'); ?>', '<?php echo $this->translate->_('Species'); ?>', '<?php echo $this->translate->_('All'); ?>'],
		address: ['<?php echo $this->translate->_("Street"); ?>', '<?php echo $this->translate->_("Address"); ?>', '<?php echo $this->translate->_("Zip Code"); ?>', '<?php echo $this->translate->_("Location"); ?>', '<?php echo $this->translate->_("Country"); ?>'],
		reminder: ['<?php echo $this->translate->_("Never"); ?>', '<?php echo $this->translate->_("Minutes Before"); ?>', '<?php echo $this->translate->_("5 Minutes Before"); ?>', '<?php echo $this->translate->_("15 Minutes Before"); ?>', '<?php echo $this->translate->_("30 Minutes Before"); ?>', '<?php echo $this->translate->_("60 Minutes Before"); ?>', '<?php echo $this->translate->_("1 Day Before"); ?>', '<?php echo $this->translate->_("3 Days Before"); ?>', '<?php echo $this->translate->_("5 Days Before"); ?>', '<?php echo $this->translate->_("Day Before"); ?>', '<?php echo $this->translate->_("Days Before"); ?>'],
		availability: ['<?php echo $this->translate->_("Everyone"); ?>', '<?php echo $this->translate->_("Only Friends"); ?>', '<?php echo $this->translate->_("Only Partners"); ?>', '<?php echo $this->translate->_("Friends and Partners"); ?>', '<?php echo $this->translate->_("Invitation Only"); ?>'],
		repeat: ['<?php echo $this->translate->_("Never"); ?>', '<?php echo $this->translate->_("Every Day"); ?>', '<?php echo $this->translate->_("Every Workday"); ?>', '<?php echo $this->translate->_("Every Week"); ?>', '<?php echo $this->translate->_("Every Month"); ?>', '<?php echo $this->translate->_("Every Year"); ?>'],
		error: ['<?php echo $this->translate->_("Title cannot be blank"); ?>', '<?php echo $this->translate->_("Start Date cannot be blank"); ?>', '<?php echo $this->translate->_("End Date must be later than Start Date"); ?>', '<?php echo $this->translate->_("Repeat Until cannot be blank"); ?>',  '<?php echo $this->translate->_("Repeat Until must be later than Start Date"); ?>', '<?php echo $this->translate->_("Start Date is not a valid date"); ?>', '<?php echo $this->translate->_("End Date is not a valid date"); ?>', '<?php echo $this->translate->_("Repeat Until is not a valid date"); ?>', '<?php echo $this->translate->_("No one is attending"); ?>', '<?php echo $this->translate->_("Latitude is invalid"); ?>', '<?php echo $this->translate->_("Longitude is invalid"); ?>'],
		dblimit: ['<?php echo $this->translate->_("Title value is too long (200)"); ?>', '<?php echo $this->translate->_("Entrance Fee value is too long (100)"); ?>', '<?php echo $this->translate->_("Capacity is too long (100)"); ?>', '<?php echo $this->translate->_("Street is too long (100)"); ?>', '<?php echo $this->translate->_("Address is too long (200)"); ?>', '<?php echo $this->translate->_("Zip Code is too long (10)"); ?>', '<?php echo $this->translate->_("Location is too long (100)"); ?>'],
		notice: ['<?php echo $this->translate->_("Message"); ?>', '<?php echo $this->translate->_("Confirm"); ?>', '<?php echo $this->translate->_("Loading"); ?>', '<?php echo $this->translate->_("Please wait while loading..."); ?>', '<?php echo $this->translate->_("Are you sure you want to delete this %s?"); ?>', '<?php echo $this->translate->_("It looks like you are have Firebug enabled, please disable it to improve the calendar performance."); ?>', '<?php echo $this->translate->_("Server Error"); ?>', '<?php echo $this->translate->_("Sorry, the request could not be completed."); ?>', '<?php echo $this->translate->_("Please wait while sending invitations..."); ?>'],
		invite: ['<?php echo $this->translate->_("Please select the users you want to invite to this event."); ?>', '<?php echo $this->translate->_("All Friends and Partners"); ?>', '<?php echo $this->translate->_("All Friends"); ?>', '<?php echo $this->translate->_("All Partners"); ?>', '<?php echo $this->translate->_("Are you sure you want to invite all your friends and partners ?"); ?>', '<?php echo $this->translate->_("Are you sure you want to invite all your friends ?"); ?>', '<?php echo $this->translate->_("Are you sure you want to invite all your partners ?"); ?>', '<?php echo $this->translate->_("Message"); ?>', '<?php echo $this->translate->_("Please fill out the message"); ?>', '<?php echo $this->translate->_("Selected Users"); ?>'],
		save: ['<?php echo $this->translate->_("Your %s has been successfully added."); ?>', '<?php echo $this->translate->_("Your %s has been successfully updated."); ?>', '<?php echo $this->translate->_("Your %s has been successfully deleted."); ?>', '<?php echo $this->translate->_("People invited:"); ?>', '<?php echo $this->translate->_("People notified:"); ?>'],
		choose: ['<?php echo $this->translate->_("You can create appointments or todos for yourself or events in which you invite your friends and link partners. Please choose which type of event you want to create:"); ?>', '<?php echo $this->translate->_("To-Do"); ?>', '<?php echo $this->translate->_("Event with Attendees"); ?>'],
		special: ['<?php echo $this->translate->_("Pending"); ?>', '<?php echo $this->translate->_("Accepted"); ?>', '<?php echo $this->translate->_("Declined"); ?>'],
		gmap: ["<?php echo $this->translate->_("Your location couldn't be determined..."); ?>", '<?php echo $this->translate->_("Search"); ?>', '<?php echo $this->translate->_("Location"); ?>', '<?php echo $this->translate->_("Get Current Location"); ?>', '<?php echo $this->translate->_("Save"); ?>', '<?php echo $this->translate->_("Cancel"); ?>', "<?php echo $this->translate->_("Trying to find your location..."); ?>"],
		pagination: ['<?php echo $this->translate->_("< Prev"); ?>', '<?php echo $this->translate->_("Next >"); ?>'],
		monthNames: ['<?php echo $this->translate->_("January"); ?>', '<?php echo $this->translate->_("February"); ?>', '<?php echo $this->translate->_("March"); ?>', '<?php echo $this->translate->_("April"); ?>', '<?php echo $this->translate->_("May"); ?>', '<?php echo $this->translate->_("June"); ?>', '<?php echo $this->translate->_("July"); ?>', '<?php echo $this->translate->_("August"); ?>', '<?php echo $this->translate->_("September"); ?>', '<?php echo $this->translate->_("October"); ?>', '<?php echo $this->translate->_("November"); ?>', '<?php echo $this->translate->_("December"); ?>'],
		monthNamesShort: ['<?php echo $this->translate->_("Jan"); ?>', '<?php echo $this->translate->_("Feb"); ?>', '<?php echo $this->translate->_("Mar"); ?>', '<?php echo $this->translate->_("Apr"); ?>', '<?php echo $this->translate->_("May"); ?>', '<?php echo $this->translate->_("Jun"); ?>', '<?php echo $this->translate->_("Jul"); ?>', '<?php echo $this->translate->_("Aug"); ?>', '<?php echo $this->translate->_("Sep"); ?>', '<?php echo $this->translate->_("Oct"); ?>', '<?php echo $this->translate->_("Nov"); ?>', '<?php echo $this->translate->_("Dec"); ?>'],
		dayNames: ['<?php echo $this->translate->_("Sunday"); ?>', '<?php echo $this->translate->_("Monday"); ?>', '<?php echo $this->translate->_("Tuesday"); ?>', '<?php echo $this->translate->_("Wednesday"); ?>', '<?php echo $this->translate->_("Thursday"); ?>', '<?php echo $this->translate->_("Friday"); ?>', '<?php echo $this->translate->_("Saturday"); ?>'],
		dayNamesShort: ['<?php echo $this->translate->_("Sun"); ?>', '<?php echo $this->translate->_("Mon"); ?>', '<?php echo $this->translate->_("Tue"); ?>', '<?php echo $this->translate->_("Wed"); ?>', '<?php echo $this->translate->_("Thu"); ?>', '<?php echo $this->translate->_("Fri"); ?>', '<?php echo $this->translate->_("Sat"); ?>'],
		buttonText: {
			prev: '&nbsp;&#9668;&nbsp;',
			next: '&nbsp;&#9658;&nbsp;',
			prevYear: '&nbsp;&lt;&lt;&nbsp;',
			nextYear: '&nbsp;&gt;&gt;&nbsp;',
			today: '<?php echo $this->translate->_("today"); ?>',
			month: '<?php echo $this->translate->_("month"); ?>',
			week: '<?php echo $this->translate->_("week"); ?>',
			day: '<?php echo $this->translate->_("day"); ?>'
		}
	},
	language: '<?php echo $this->translate->getLocale(); ?>'
};
READY(Calendar.init);
</script>